Page({

  /**
   * 页面的初始数据
   */
  data: {
    menuInfo: {},
    str:[
      {id:'1',name:'申请婚姻档案查询',src:'/images/more/ArchiveInquiry/ArchiveInquiry6.png'},
      {id:'2',name:'申请独生子女档案查询',src:'/images/more/ArchiveInquiry/ArchiveInquiry1.png'},
      {id:'3',name:'申请知青档案查询',src:'/images/more/ArchiveInquiry/ArchiveInquiry2.png'},
      {id:'4',name:'申请再生育子女审批档案查询',src:'/images/more/ArchiveInquiry/ArchiveInquiry3.png'},
      {id:'5',name:'申请复员退伍军人档案查询',src:'/images/more/ArchiveInquiry/ArchiveInquiry4.png',url:'/pages/SocialSecurityCard/FormList/FormList'},
      {id:'6',name:'我的申请',src:'/images/more/ArchiveInquiry/ArchiveInquiry5.png',url:'/pages/SocialSecurityCard/FormList/FormList'},
    ]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady() {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow() {
    //设置头部字体与导航栏对齐
    const top= getApp()
    this.setData({
      menuInfo:top.geibartop.menuInfo
    })
  },
  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom() {

  },
  //跳转页面
  jumpPage(e) {
    console.log( e.currentTarget.dataset);
    wx.navigateTo({
      url: e.currentTarget.dataset.url
    })
  },
  //返回上一级
  backPage(){
    wx.navigateBack({
      delta: 1
    });    
  },
})